Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Support for INA228 #17994

Merged
merged 7 commits into from
Aug 22, 2021
Merged

Add Support for INA228 #17994

merged 7 commits into from
Aug 22, 2021

Conversation

davids5
Copy link
Member

@davids5 davids5 commented Jul 29, 2021

Testing only!

Start with ina228 -X -b 1 start When connected to power brick 1 ina228 -X -b 2 start When connected to power brick 2.

I am seeing higher the real current values.

A Load A reported Delta A
0.344 0.4563 0.1123
0.54 0.7306 0.1906
1.14 1.513 0.373
4.217 5.05 0.833

Measurements of the Pin 9-10 are 0.43 mA > than on the shunt.

@davids5 davids5 marked this pull request as draft July 29, 2021 20:54
src/drivers/drv_sensor.h Outdated Show resolved Hide resolved
src/drivers/power_monitor/ina228/ina228.cpp Outdated Show resolved Hide resolved
src/drivers/power_monitor/ina228/ina228.h Outdated Show resolved Hide resolved
@davids5
Copy link
Member Author

davids5 commented Aug 20, 2021

@dagar - Changes we discussed are in. In retrospect, this assume bus 1 and 2 for the general case (in in rc.sensors) - which is fine as the current use cases. But might not be a general solution, as this is board wiring specific.

@davids5
Copy link
Member Author

davids5 commented Aug 20, 2021

@dagar - back to board wiring specific

@dagar dagar merged commit 60d50b9 into master Aug 22, 2021
@dagar dagar deleted the pr-ini228 branch August 22, 2021 18:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants